package com.ruteroelmeromero.vista;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.print.attribute.standard.Severity;

public class Pagina {
	public void mensaje(String titulo,String detalle){
		FacesContext ctx = FacesContext.getCurrentInstance().getCurrentInstance();
		ctx.addMessage("message1",
		        new FacesMessage(FacesMessage.SEVERITY_INFO, titulo, detalle));		
	}
}
